package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.KingPurchaseApplyMaterialEntity;
import com.ly.heart.domain.dto.KingPurchaseApplyQueryDto;
import com.ly.heart.domain.vo.KingPurchaseApplyVo;

/**
 * 金蝶-采购申请单物料信息Service接口
 *
 * @author cxl
 * @date 2024-08-31
 */
public interface IKingPurchaseApplyMaterialService extends IService<KingPurchaseApplyMaterialEntity> {
    /**
     * 查询金蝶-采购申请单物料信息
     *
     * @param id 金蝶-采购申请单物料信息ID
     * @return 金蝶-采购申请单物料信息
     */
    public KingPurchaseApplyMaterialEntity selectKingPurchaseApplyMaterialEntityById(String id);

    /**
     * 查询金蝶-采购申请单物料信息列表
     *
     * @param kingPurchaseApplyMaterialEntity 金蝶-采购申请单物料信息
     * @return 金蝶-采购申请单物料信息集合
     */
    public List<KingPurchaseApplyMaterialEntity> selectKingPurchaseApplyMaterialEntityList(KingPurchaseApplyMaterialEntity kingPurchaseApplyMaterialEntity);

    /**
     * 新增金蝶-采购申请单物料信息
     *
     * @param kingPurchaseApplyMaterialEntity 金蝶-采购申请单物料信息
     * @return 结果
     */
    public int insertKingPurchaseApplyMaterialEntity(KingPurchaseApplyMaterialEntity kingPurchaseApplyMaterialEntity);

    /**
     * 修改金蝶-采购申请单物料信息
     *
     * @param kingPurchaseApplyMaterialEntity 金蝶-采购申请单物料信息
     * @return 结果
     */
    public int updateKingPurchaseApplyMaterialEntity(KingPurchaseApplyMaterialEntity kingPurchaseApplyMaterialEntity);

    /**
     * 批量删除金蝶-采购申请单物料信息
     *
     * @param ids 需要删除的金蝶-采购申请单物料信息ID
     * @return 结果
     */
    public int deleteKingPurchaseApplyMaterialEntityByIds(String[] ids);

    /**
     * 删除金蝶-采购申请单物料信息信息
     *
     * @param id 金蝶-采购申请单物料信息ID
     * @return 结果
     */
    public int deleteKingPurchaseApplyMaterialEntityById(String id);

    /**
     * 获取采购申请单列表
     * @param queryDto
     * @return
     */
    List<KingPurchaseApplyVo> getPurchaseApplyList(KingPurchaseApplyQueryDto queryDto);
}
